package cn.bdqn.mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

import cn.bdqn.domain.Drugsware;

public interface DrugswareMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Drugsware record);

    int insertSelective(Drugsware record);

    Drugsware selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Drugsware record);

    int updateByPrimaryKey(Drugsware record);

    /**
     * 根据药品名查询数量
     * @param drugId
     * @return
     */
    Drugsware selectByDrugId(@Param("drugId")Integer drugId);




}